<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>角色管理</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <!-- Morris -->
    <link href="css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">
    <!-- Gritter -->
    <link href="js/plugins/gritter/jquery.gritter.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/global.css" rel="stylesheet">
    <style>
        .permissionsCheckBox{
            margin-top: .2rem;
            padding-left: .6rem;
        }
        .permissionsCheckLine{
            width:1.5rem;
            padding-left: .2rem;
        }
        .borderRight{
            border-right: 1px solid #C7C7C7;
        }
        .dnaCheckRightBox{
            min-width:1.2rem;
            height: .45rem;
            line-height: .45rem;
            font-size: .14rem;
            color: #515151;
        }
    </style>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="tableToPBpx">
        <div class="tableToPImgBox floatLeft" style="width: 100%;">
            <img class=" tableToPImg" src="img/centerRoleManageBg.png" alt="">
            <div class="tableToPTitle">角色管理</div>
        </div>
    </div>
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <div class="floatClear iboxHeader">
                <div class="iboxheaderBtn2 floatRight" data-toggle="modal" data-target="#addRole"><img src="img/addWrite.png" alt="">添加角色</div>
            </div>
            <div class="row">
                <div class="table-responsive">
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>角色名称</th>
                        <th>角色描述</th>
                        <th>成员</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>样本信息管理</td>
                        <td>样本信息管理</td>
                        <td>王芳芳、王芳芳、王芳芳、王芳芳</td>
                        <td style="text-align: center;width: 5rem;">
                            <div class="detailBtn" data-toggle="modal" data-target="#edit"><img src="img/centerEdit.png" alt="">修改</div>
                            <div class="detailBtn" style="color: #FF8A8A;border-color: #FF8A8A;"><img src="img/centerDelete.png" alt="">删除</div>
                            <div class="detailBtn" data-toggle="modal" data-target="#permissions" style="color: #47CCB1;border-color: #47CCB1;"><img src="img/centerFp.png" alt="">分配权限</div>
                            <div class="detailBtn" data-toggle="modal" data-target="#addUser" style="color: #E9971C;border-color: #E9971C;"><img src="img/centerAdd.png" alt="">添加成员</div>
                        </td>
                    </tr>
                    </tbody>
                </table>
                </div>
            </div>
            <div class="iBoxPagingBox">
                <div class="iBoxPagingItem"><</div>
                <div class="iBoxPagingItem on">1</div>
                <div class="iBoxPagingItem">2</div>
                <div class="iBoxPagingItem">3</div>
                <div class="iBoxPagingItem">4</div>
                <div class="iBoxPagingItem">5</div>
                <div class="iBoxPagingItem">></div>
            </div>
        </div>
    </div>
</div>
<!--添加角色模态-->
<div class="modal inmodal fade" id="addRole" tabindex="-1" role="dialog"  aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modalTitle">添加角色</div>
        <div style="text-align: center;margin-top: .25rem;">
            <label class="modalLabel" for="">角色：</label>
            <select class="modalSelect" name="" id="">
                <option value="">请选择</option>
            </select>
        </div>
        <div style="text-align: center;margin-top: .25rem;">
            <label class="modalLabel" for="">角色描述：</label>
            <input class="modalInput" type="text" placeholder="请输入">
        </div>
        <div style="text-align: center;margin-top: .25rem;">
            <label class="modalLabel" for="">角色名：</label>
            <input class="modalInput" type="text" placeholder="请输入">
        </div>
        <div style="text-align: center;margin-top: .25rem;">
            <label class="modalLabel" for="">密码：</label>
            <input class="modalInput" type="text" placeholder="请输入">
        </div>
        <div class="manageEditBtnBox">
            <div class="manageEditBtn manageEditBtnSave">
                <img src="img/addWrite.png" alt="">
                添加
            </div>
            <div class="manageEditBtn manageEditBtnRemove" data-dismiss="modal" aria-hidden="true">
                <img src="img/remove.png" alt="">
                取消
            </div>
        </div>
    </div>
</div>
<!--修改模态-->
<div class="modal inmodal fade" id="edit" tabindex="-1" role="dialog"  aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modalTitle">修改</div>
        <div style="text-align: center;margin: .25rem 0 .5rem 0;">
            <label class="modalLabel" for="">规则名：</label>
            <input class="modalInput" type="text" placeholder="请输入">
        </div>
        <div class="manageEditBtnBox">
            <div class="manageEditBtn manageEditBtnSave">
                <img src="img/editWrite.png" alt="">
                修改
            </div>
            <div class="manageEditBtn manageEditBtnRemove" data-dismiss="modal" aria-hidden="true">
                <img src="img/remove.png" alt="">
                取消
            </div>
        </div>
    </div>
</div>
<!--添加角色模态-->
<div class="modal inmodal fade" id="addUser" tabindex="-1" role="dialog"  aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modalTitle">添加成员</div>
        <div style="text-align: center;margin: .25rem 0 .5rem 0;">
            <label class="modalLabel" for="">角色：</label>
            <select class="modalSelect" name="" id="">
                <option value="">请选择</option>
            </select>
        </div>
        <div class="manageEditBtnBox">
            <div class="manageEditBtn manageEditBtnSave">
                <img src="img/addWrite.png" alt="">
                添加
            </div>
            <div class="manageEditBtn manageEditBtnRemove" data-dismiss="modal" aria-hidden="true">
                <img src="img/remove.png" alt="">
                取消
            </div>
        </div>
    </div>
</div>
<!--分配权限模态-->
<div class="modal inmodal fade" id="permissions" tabindex="-1" role="dialog"  aria-hidden="true">
    <div class="modal-dialog modal-lg" style="width: 12.4rem;">
        <div class="modalTitle">分配权限</div>
        <div class="permissionsCheckBox floatClear">
            <div class="permissionsCheckLine floatLeft borderRight">
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>后台首页</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>系统设置</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>控制权限</label>
                </div>
                <div class="dnaCheckRightBox"></div>
            </div>
            <div class="permissionsCheckLine floatLeft borderRight">
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>欢迎界面</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>菜单管理</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>权限管理</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>用户组管理</label>
                </div>
            </div>
            <div class="permissionsCheckLine floatLeft">
                <div class="dnaCheckRightBox"></div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>菜单列表</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>添加权限</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>添加用户组</label>
                </div>
            </div>
            <div class="permissionsCheckLine floatLeft">
                <div class="dnaCheckRightBox"></div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>添加菜单</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>修改权限</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>修改用户组</label>
                </div>
            </div>
            <div class="permissionsCheckLine floatLeft">
                <div class="dnaCheckRightBox"></div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>修改菜单</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>删除权限</label>
                </div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>删除用户组</label>
                </div>
            </div>
            <div class="permissionsCheckLine floatLeft">
                <div class="dnaCheckRightBox"></div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>删除菜单</label>
                </div>
                <div class="dnaCheckRightBox"></div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>分配权限</label>
                </div>
            </div>
            <div class="permissionsCheckLine floatLeft">
                <div class="dnaCheckRightBox"></div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>菜单排序</label>
                </div>
                <div class="dnaCheckRightBox"></div>
                <div class="dnaCheckRightBox">
                    <input type="checkbox" class="i-checks" name="input[]">
                    <label>添加成员</label>
                </div>
            </div>
        </div>
        <div class="manageEditBtnBox">
            <div class="manageEditBtn manageEditBtnSave" style="margin-left: 4rem;">
                <img src="img/save.png" alt="">
                保存
            </div>
            <div class="manageEditBtn manageEditBtnRemove" data-dismiss="modal" aria-hidden="true">
                <img src="img/remove.png" alt="">
                取消
            </div>
        </div>
    </div>
</div>
<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<!-- iCheck -->
<script src="js/plugins/iCheck/icheck.min.js"></script>
<!--自定义js-->
<script src="js/global.js"></script>
<script>
    $(document).ready(function () {
        $('.i-checks').iCheck({
            checkboxClass: 'icheckbox_square-green',
            radioClass: 'iradio_square-green'
        });
    });
</script>
</body>
</html>
